<?php include __DIR__.'/../public/header_m.php';?>

<div class="container mw-500px">
  <div id="titlebar">
    <div class="heading"><i class="icon-key"></i> 修改密码</div>
  </div>
  <form target="hiddenwin" method="post" class="form-condensed">
    <table align="center" class="table table-form w-300px"> 
      <tbody><tr>
        <th class="rowhead w-80px">用户名</th>
        <td><?php echo $username;?>
</td>
      </tr> 
        <tr>
        <th>旧密码</th>
        <td><input type="password" class="form-control" value="" id="password_old" name="data[password_old]">
        </td>
      </tr>      
      <tr>
        <th>新密码</th>
        <td><input type="password" class="form-control" value="" id="password" name="data[password]">
</td>
      </tr>  
      <tr>
        <th>请重复密码</th>
        <td><input type="password" class="form-control" value="" id="password" name="data[password_confirmation]">
</td>
      </tr>
      <tr>
        <td></td>
        <td> <button class="btn btn-submit btn-primary" id="submit" data-submitting="提交中..." type="submit">保存</button></td>
      </tr>
    </tbody></table>
  </form>  
</div>

<?php include __DIR__.'/../public/footer_m.php';?>